﻿using System;
using System.Collections.Generic;
using System.Data;
using System.Data.SqlClient;
using System.Web;
using System.Web.Configuration;
using System.Web.UI;
using System.Web.UI.WebControls;

public partial class Default6 : System.Web.UI.Page
{
    protected void Page_Load(object sender, EventArgs e)
    {
    }

    protected void btnOK_Click(object sender, EventArgs e)
    {
        DataTableService.DataTableWebService service = new DataTableService.DataTableWebService();
        gridView1.DataSource = service.GetDataSet(txtTableName.Text);
        gridView1.DataBind();
    }
}